/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const refundManagement = {
  path: '/refundManagement',
  component: Layout,
  redirect: 'noRedirect',
  name: '退款记录',
  alwaysShow: true,
  meta: {
    title: '退款记录',
    icon: 'money',
    roles: ['/refundManagement/refund']
  },
  children: [
    {
      path: 'refund',
      component: () => import('@/views/refundManagement/refund/index'),
      name: 'refund',
      meta: { title: '退款', noCache: true, roles: ['/refundManagement/refund'] }
    }
    // {
    //   path: 'refundRecords',
    //   component: () => import('@/views/refundManagement/refundRecords/index'),
    //   name: 'refundRecords',
    //   meta: { title: '退款记录', noCache: true }
    // }
  ]
}

export default refundManagement
